<div th:unless="${listGrid.selectType} == 'selectize'" th:include="components/listGrid" th:object="${listGrid}"
     th:attr="data-numitemsaffected=${numItemsAffected}"></div>
<div th:if="${listGrid.selectType} == 'selectize'" th:include="components/selectizeCollection" th:with="listGrid=${listGrid}" th:remove="tag"></div>